<?php
/* 
	This code will be using several classes and helper functions to build
	an Ajax enabled shoutbox with a database and also some caching of items on a page

	This script is just a stub and some libraries i am learning (jQuery - this will be my first attempt
	at using this, but I have used others, so this may not be a baptism of fire!)
	
	
	Date:	2012-14-03
	Author:	Cedric 	McMillan Junior


	We may want to include some very basic session handling just so that each person has an identity.

	We also might want to cache some templates!

*/
session_start();

# global variables and defines
require_once("bootstrap.php");

















# template class
require_once("classes/template.class.php");

# get template class primed with this 
$tpl	=	new Classes_Template($gCacheObject,"data/templates/jquery.html");

# This hash contains the tags that need to be replaced.
$tags	=	

	array(

			"{{shoutbox_string}}"		=>	"",
			"{{page_title}}"			=>	"Coding Samples",
			
		);


# do the substitutions for the template
$tpl->subTagsInTemplate($tags);


$tpl->subHeader();
$tpl->subFooter();
$tpl->display();


?>